const CopyWebpackPlugin = require('copy-webpack-plugin')
module.exports = {
  pwa: {
    iconPaths: {
      favicon32: 'favicon.ico',
      favicon16: 'favicon.ico',
      appleTouchIcon: 'favicon.ico',
      maskIcon: 'favicon.ico',
      msTileImage: 'favicon.ico'
    }
  },
  css: {
    loaderOptions: {
      sass: {
        data: `@import "@/style/theme.scss";`
      }
    }
  },
  devServer: {
    port: 8888
  },
  configureWebpack: {
    plugins: [
      // new CopyWebpackPlugin([
      //   {
      //     from: './src/assets/importTemplate',
      //     to: './importTemplate',
      //   }
      // ])
    ]
  }
}

